package net.y2t72.microblog.bean;

import java.io.Serializable;

/**
 * 话题表实体类
 * 
 * @author Administrator
 * 
 */

public class Topic implements Serializable{

	/**
	 * 版本号
	 */
	private static final long serialVersionUID = -5579469813444241414L;

	public Topic() {
		super();
	}

	public Topic(int id, String name, int topicTimes, int followTimes,
			int recommend) {
		super();
		this.id = id;
		this.name = name;
		this.topicTimes = topicTimes;
		this.followTimes = followTimes;
		this.recommend = recommend;
	}

	private int id;						//话题编号
	private String name;				//话题名称
	private int topicTimes;				//话题次数
	private int followTimes;			//关注次数
	private int recommend;				//是否为推荐话题 默认0：否

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getTopicTimes() {
		return topicTimes;
	}

	public void setTopicTimes(int topicTimes) {
		this.topicTimes = topicTimes;
	}

	public int getFollowTimes() {
		return followTimes;
	}

	public void setFollowTimes(int followTimes) {
		this.followTimes = followTimes;
	}

	public int getRecommend() {
		return recommend;
	}

	public void setRecommend(int recommend) {
		this.recommend = recommend;
	}
}
